<template>
  <div class="block" style="height: 100%;">
    <img :src="imgurl">
  </div>
</template>

<script>
export default {
  name: 'Posterqr',
  data() {
    return {
      imgurl: ''
    }
  },
  created() {
    const loginId = this.$store.getters.name
    this.imgurl = this.axios.defaults.baseURL + '/online/qrimg?loginId=' + loginId + '&' + new Date().getTime()
    /* const loading = this.$loading({
      lock: true,
      text: 'loading......',
      spinner: 'el-icon-loading',
      background: 'rgba(0, 0, 0, 0.7)'
    })
    this.axios.get('online/qrimg',
      { loginId: loginId }).then(response => {
      console.log(response)
    }).catch(err => {
      this.$message.error(err)
    }).finally(() => {
      loading.close()
    }) */
  }
}
</script>

<style>
</style>
